home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / freeWAIS-sf-1.1 / ir / stem.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-08  |  675 b   |  31 lines

  1.  
  2. /* Copyright (c) CNIDR (see ../COPYRIGHT) */
  3.  
  4. /*******************************   stem.h   ***********************************
  5.  
  6.    Purpose: Header file for an implementation of the Porter stemming 
  7.             algorithm.
  8.  
  9.    Notes:   This module implemnts a fast stemming function whose results
  10.             are about as good as any other.
  11. **/
  12.  
  13. #ifndef STEM_H
  14. #define STEM_H
  15.  
  16. /******************************************************************************/
  17. /****************************   Public Routines   *****************************/
  18.  
  19. #ifdef __STDC__
  20.  
  21. extern int Stem( char *word );      /* returns 1 on success, 0 otherwise */
  22.  
  23. #else
  24.  
  25. extern int Stem();
  26.  
  27. #endif
  28.  
  29. #endif
  30.  
  31.